home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / VBDOSBUG.ZIP;1 / VBDBUGS.DOC
Encoding:
Text File  |  1994-06-01  |  4.1 KB  |  76 lines

  1. Known Bugs/Quirks:
  2.  
  3. 1.  .ReadOnly property cannot be set in a custom control.  It sets the 
  4.     .Enabled property.
  5.  
  6. 2.  BIOS Insert State cannot be changed in a "Forms" program.  VBDOS stores 
  7.     Insert State internally instead of using BIOS.  It updates the BIOS when
  8.     it changes it but doesn't update itself when BIOS changes. (per Bill they
  9.     will not be fixing this bug.  It will be in the readme.txt)
  10.  
  11. 3.  Custom Controls cannot use the .WindowState property either by doing a
  12.     Ctrl.WindowState or a SetIntProperty 0,CID,PROP_WindowState.  VB returns
  13.     an internal message error message.
  14.  
  15. 4.  You cannot set the .Drive, .Pattern, .Text, .Path of a custom control at
  16.     design time UNLESS the form is saved as ASCII.  If the form is not saved
  17.     as ASCII it will let you set the values but the changes will not be saved
  18.     to the .frm file.
  19.  
  20. 5.  If you have a Label as .TabIndex=0 and a custom control as .TabIndex=1 and
  21.     you use the Label's access-key to give the custom control the focus it works.
  22.     However, if the custom control already has the focus when you use the access-key
  23.     the custom control gets a LostFocus event but no new GotFocus event is fired.
  24.  
  25. 6.  When displaying a message box *ALL* events to a custom control stop.  The control
  26.     will not receive timer events or paint events, etc.  This will cause Custom Controls
  27.     to not redraw properly until the message box is closed.
  28.  
  29. 7.  When displaying a pull down menu *ALL* events to a custom control stop.  The control
  30.     will not receive timer events or paint events, etc.  This will cause Custom controls
  31.     to not redraw properly until the menu window is released.
  32.  
  33. 8.  If you use COMMON SHARED in any of the forms/subs in your project you must also put a    
  34.     stub obj file in the quick lib that contains the same COMMON SHARED or you may get the
  35.     error "COMMON block too small in QLB" or "COMMON block too large in QLB".
  36.  
  37. 9.  Certain interrupts are restored by VBDOS *BEFORE* the "B_OnExit" is called.  This
  38.     can cause some 3rd party products to fail because they wait until this routine
  39.     is called to free memory and replace interrupts.  
  40.  
  41. 10. In VBDOS 1.0 you can't do a REDIM PRESERVE on the 1st dimension of a 2 dimensioned
  42.     array.  For example:
  43.     DIM SHARED a(1, 1000) as string
  44.     REDIM PRESERVE a(2, 1000) as string  'This will return a Subscript out of range error.
  45.  
  46. 11. If you try to REDIM PRESERVE an array and the allocation would exhaust memory then the
  47.     message "Subscript Out of Range" is returned instead of "Out of Memory".
  48.  
  49. 12.  If you have a only .Frm file loaded and you haven't run the form yet and you
  50.      try to do a PRINT "x" in the Immediate Window it doesn't work.  You must use MsgBox
  51.      if the project contains *any* forms, even if the forms are not used.
  52.  
  53. 13.  There is a problem when a MsgBox is displayed in the click event of a custom
  54.      control.  When the MsgBox is displayed all keyboard input gets routed to the
  55.      custom control's event procedure instead of going to the MsgBox.
  56.  
  57. 14.  When setting the .Caption property of custom controls a redraw of the control 
  58.      does not always automatically occur.  It is necessary to subclass the 
  59.      SetStringProperty event and cause the redraw yourself.
  60.  
  61. 15.  **VERY IMPORTANT!**.  You must never do just an END to end a program when
  62.      using custom controls.  You must unload *ALL* forms and then do an END.
  63.      VBDOS does not automatically call the custom control _Unload event when
  64.      just an END is done.  This *can* cause havoc on memory/resources as the
  65.      custom control never is notified to release those resources.
  66.  
  67. 16.  Custom Controls cannot use the following properties.  They are reserved
  68.      for "internal" use by VBDOS.
  69.       
  70.          .ControlBox, .MinButton, .MaxButton, .Seperator, .WindowState
  71.  
  72. 19.  When you have 2 forms and the top line of form 2 overlaps form1's menu bar and
  73.      form 2 is "on top" of form 1, the menu bar receives the mouse events
  74.      "through" the top form.  This causes repaint probs because form 2 does not know
  75.      that a menu has been dropped.  Note:  This is not always reproducible!
  76.